package me.spring.cloud.components.starter.security.access;

import me.spring.cloud.components.starter.oauth2.url.EnableIgnoreUrl;
import me.spring.cloud.components.starter.security.access.configuration.SecurityStarterConfiguration;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * 开启安全访问，根据UPM中权限进行判断
 *
 * @author luffy
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnableIgnoreUrl
@Import({SecurityStarterConfiguration.class})
public @interface EnableSecurityAccess {
}
